<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.org/rich"
    template="layout/template.xhtml">

<ui:define name="body">

    <rich:panel>
        <f:facet name="header">Node Details</f:facet>


        <s:decorate id="vid" template="layout/display.xhtml">
            <ui:define name="label">Vid</ui:define>
            <h:outputText value="#{nodeHome.instance.vid}"/>
        </s:decorate>

        <s:decorate id="type" template="layout/display.xhtml">
            <ui:define name="label">Type</ui:define>
            <h:outputText value="#{nodeHome.instance.type}"/>
        </s:decorate>

        <s:decorate id="language" template="layout/display.xhtml">
            <ui:define name="label">Language</ui:define>
            <h:outputText value="#{nodeHome.instance.language}"/>
        </s:decorate>

        <s:decorate id="title" template="layout/display.xhtml">
            <ui:define name="label">Title</ui:define>
            <h:outputText value="#{nodeHome.instance.title}"/>
        </s:decorate>

        <s:decorate id="uid" template="layout/display.xhtml">
            <ui:define name="label">Uid</ui:define>
            <h:outputText value="#{nodeHome.instance.uid}"/>
        </s:decorate>

        <s:decorate id="status" template="layout/display.xhtml">
            <ui:define name="label">Status</ui:define>
            <h:outputText value="#{nodeHome.instance.status}"/>
        </s:decorate>

        <s:decorate id="created" template="layout/display.xhtml">
            <ui:define name="label">Created</ui:define>
            <h:outputText value="#{nodeHome.instance.created}"/>
        </s:decorate>

        <s:decorate id="changed" template="layout/display.xhtml">
            <ui:define name="label">Changed</ui:define>
            <h:outputText value="#{nodeHome.instance.changed}"/>
        </s:decorate>

        <s:decorate id="comment" template="layout/display.xhtml">
            <ui:define name="label">Comment</ui:define>
            <h:outputText value="#{nodeHome.instance.comment}"/>
        </s:decorate>

        <s:decorate id="promote" template="layout/display.xhtml">
            <ui:define name="label">Promote</ui:define>
            <h:outputText value="#{nodeHome.instance.promote}"/>
        </s:decorate>

        <s:decorate id="moderate" template="layout/display.xhtml">
            <ui:define name="label">Moderate</ui:define>
            <h:outputText value="#{nodeHome.instance.moderate}"/>
        </s:decorate>

        <s:decorate id="sticky" template="layout/display.xhtml">
            <ui:define name="label">Sticky</ui:define>
            <h:outputText value="#{nodeHome.instance.sticky}"/>
        </s:decorate>

        <s:decorate id="tnid" template="layout/display.xhtml">
            <ui:define name="label">Tnid</ui:define>
            <h:outputText value="#{nodeHome.instance.tnid}"/>
        </s:decorate>

        <s:decorate id="translate" template="layout/display.xhtml">
            <ui:define name="label">Translate</ui:define>
            <h:outputText value="#{nodeHome.instance.translate}"/>
        </s:decorate>

        <div style="clear:both"/>

    </rich:panel>

    <div class="actionButtons">

        <s:button view="/NodeEdit.xhtml"
                    id="edit"
                 value="Edit"/>

        <s:button view="/#{empty nodeFrom ? 'NodeList' : nodeFrom}.xhtml"
                    id="done"
                 value="Done"/>

    </div>

</ui:define>

</ui:composition>
